﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CTThongBao.ascx.cs" Inherits="KTX_NoticeDetail" %>
<div class="col-xs-6 col-md-3" style="display: none">
    <asp:PlaceHolder ID="PlaceHolderRight" runat="server"></asp:PlaceHolder>
</div>

<div class="col-xs-6 col-md-9">
    <div class="page-header">
        <h1>
            <asp:Label ID="lblTieuDe" runat="server" Text=""></asp:Label>
        </h1>
    </div>
    <div class="panel panel-default">
        
        <div class="panel-body">
           <i class="fa fa-user"></i> Người thông báo: <b> <asp:Label ID="lblNguoiThongBao" runat="server"></asp:Label> </b>
            | <i class="fa fa-calendar"></i> Ngày đăng: <asp:Label ID="lblNgayDang" runat="server"></asp:Label> 
            | <i class="fa fa-eye"></i> Lượt xem: <span class="badge"> <asp:Label ID="lblLuotXem" runat="server"></asp:Label> </span>
            <hr />
            <asp:Literal ID="lblNoiDung" runat="server"></asp:Literal>

        </div>
    </div>

    <div class="page-header">
        <h1>
            <img class="media-object" src="/Images/kblogger.png" alt="..." width="32" style="float: left; margin: 15px"><small>
              Thông báo liên quan
            </small>

            <small class="pull-right1"><a href="Default.aspx?tab=thongbao" style="font-size: 15px;">Xem tất cả <i class="fa fa-arrow-right"></i></a></small>
        </h1>
    </div>
    <ul>
        <asp:Repeater ID="rptItems" runat="server">
            <ItemTemplate>
                <li>

                    <h4 class="media-heading"><a href="Default.aspx?tab=ctthongbao&IDThongBao=<%#Eval("IDThongBao") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a>
                        <small>bởi <b><%#Eval("NguoiThongBao") %></b>
                            <i class="fa fa-calendar"></i>

                            <time class="timeago" datetime="<%#Eval("NgayThongBao") %>" rel="tooltip" title="<%#Eval("NgayThongBao") %>"><%#Eval("NgayThongBao") %></time>

                        </small>
                    </h4>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
</div>
<div class="col-xs-6 col-md-3">
    <div class="panel panel-primary">
        <div class="panel-heading">THÔNG BÁO MỚI ĐĂNG</div>
        <div class="panel-body">
            <ul class="list-unstyled">
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <li>
                            <a href="Default.aspx?tab=ctthongbao&IDThongBao=<%#Eval("IDThongBao") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a>
                            (Ngày: <%#Eval("NgayThongBao","{0:d}") %>)
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
                
            </ul>
            
        </div>
    </div>
</div>
<div class="col-xs-6 col-md-3">
    <div class="panel panel-primary">
        <div class="panel-heading">THÔNG BÁO XEM NHIỀU</div>
        <div class="panel-body">
            <ul class="list-unstyled">
                <asp:Repeater ID="rptHits" runat="server">
                    <ItemTemplate>
                        <li>
                            <a href="Default.aspx?tab=ctthongbao&IDThongBao=<%#Eval("IDThongBao") %>" rel="tooltip" title="<%#Eval("TieuDe") %>"><%#Eval("TieuDe") %> </a>
                            (<i class="fa fa-eye"></i> lượt xem: <%#Eval("LuotXem") %>)
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
                
            </ul>
            
        </div>
    </div>
</div>
